package com.dc.project.entity.query;

import com.own.component.common.base.entity.BaseQuery;
import com.own.constant.ConstantBeanSuffix;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * TaskQuery
 *
 * @author chenxueli
 * @date 2025-03-08 15:11:52
 */
@Schema(title = "任务" + ConstantBeanSuffix.QUERY)
@Getter
@Setter
@ToString
@Accessors(chain = true)
@AllArgsConstructor
@NoArgsConstructor
public class TaskQuery extends BaseQuery implements Serializable {

    @Schema(title = "任务标题")
    private String title;

    @Schema(title = "任务状态")
    private Integer status;

    @Schema(title = "任务类型 1=根据自定义文件创建 2=根据模板生成")
    private Integer type;

    @Schema(title = "模板key")
    private String templateKey;

    @Schema(title = "是否热门 1=是 2=否")
    private Integer isHot;

}
